// 创建axios副本
import Vue from 'vue'
import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios, axios)

// 1.创建instance

const instance = axios.create({
  baseURL: 'http://localhost:1337',
  timeout: 10000
})